<?php


namespace App\Modules\Api\Test\Providers;

use Illuminate\Support\ServiceProvider;

/**
 * Class TestServiceProvider
 * @package App\Modules\Api\Test\Providers
 */
class TestServiceProvider extends ServiceProvider
{
    public function boot()
    {
        $this->loadRoutesFrom(__DIR__.'/../route.php');
    }

    public function register()
    {
        if (config('cache.enable')) {
            $this->bindCache();
        }
    }

    /**
     * 绑定缓存
     */
    private function bindCache() {

    }
}
